package pl.edu.pjwstk.kor.model;

import java.io.Serializable;

public class Address implements Serializable {
	private static final long serialVersionUID = 1L;
	
	private String country;
	private String city;
	private String postalCode;
	
	private String street;
	private Integer buildingNumber;
	private Integer flatNumber;
	
	public String getCountry() {
		return country;
	}
	
	public void setCountry(String country) {
		this.country = country;
	}
	
	public String getCity() {
		return city;
	}
	
	public void setCity(String city) {
		this.city = city;
	}
	
	public String getPostalCode() {
		return postalCode;
	}
	
	public void setPostalCode(String postalCode) {
		this.postalCode = postalCode;
	}
	
	public String getStreet() {
		return street;
	}
	
	public void setStreet(String street) {
		this.street = street;
	}
	
	public Integer getBuildingNumber() {
		return buildingNumber;
	}
	
	public void setBuildingNumber(Integer buildingNumber) {
		this.buildingNumber = buildingNumber;
	}
	
	public Integer getFlatNumber() {
		return flatNumber;
	}

	public void setFlatNumber(Integer flatNumber) {
		this.flatNumber = flatNumber;
	}

	@Override
	public String toString() {
		return "Address [country=" + country + ", city=" + city
				+ ", postalCode=" + postalCode + ", street=" + street
				+ ", buildingNumber=" + buildingNumber + ", flatNumber="
				+ flatNumber + "]";
	}
}
